#pragma once

#include "Equipment.h"

struct Game;

class Armour : public Equipment
{
public:

	int _PD;

	Armour() = default;
	Armour(Armour&&) = default;
	Armour(const Armour&) = default;
	Armour& operator=(Armour&&) = default;
	Armour& operator=(const Armour&) = default;

	Armour(std::string name, int count, std::string introduce, int PD)
		:Equipment(name, count, introduce)
		, _PD(PD)
	{
		;
	}

	void ArmourMenu();
	void ArmourMenuOperate(Game&);

	void use(Game&) override;

	std::string introduce() override;

	void load(Game&) override;

	void unload(Game&) override;

	//void use(Game&) override
	//{

	//}

};

std::ostream& operator<<(std::ostream& out, Armour& equip);
std::istream& operator>>(std::istream& in, Armour& equip);